<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="description" itemprop="description" content="" id="adescription" />
    <meta name="keywords" content="" />
    <meta itemprop="name" content="uniapp" id="qqname" />
    <meta name="viewport"
        content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <title>匠人查</title>
    <script>
        var MAX_REM_WIDTH = 550;
        // 有一个问题，app预加载中不会触发DOMContentLoaded，初始拿不到document的clientWidth
        function setFontSize() {
            var width = Math.min(document.documentElement.clientWidth || screen.availWidth, MAX_REM_WIDTH);
            document.documentElement.style.fontSize = width / 20 + 'px';
        }
        setFontSize();
        document.addEventListener('DOMContentLoaded', setFontSize);
        var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
        document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')
        // 禁止手指放大
        document.addEventListener('gesturestart', function (event) {
            event.preventDefault()
        })
        // 禁用双击放大
        var lastTouchEnd = 0;
        document.documentElement.addEventListener('touchend', function (event) {
            var now = Date.now();
            if (now - lastTouchEnd <= 300) {
                event.preventDefault();
            }
            lastTouchEnd = now;
        }, {
            passive: false
        });
    </script>
    <link rel="stylesheet" href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css" />
</head>

<body>
    <noscript>
        <strong>Please enable JavaScript to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
</body>



</html>
